# -*- coding: utf-8 -*-

import numpy as np

def python_matmul(a, b):
    return np.matmul(a, b)

# 测试用例：固定输入输出，作为Rust验证标准
a = np.array([[1.0, 2.0], [3.0, 4.0]],
            dtype=np.float32)
b = np.array([[5.0, 6.0], [7.0, 8.0]],
            dtype=np.float32)
result_python = python_matmul(a, b)
print("Python 输出：\n", result_python)
